package com.wuhuiyue.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author hy-woo
 * @since 2022-06-14
 */
@Getter
@Setter
@TableName("tb_channel")
public class Channel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ExcelIgnore
    private Integer id;
    @ExcelProperty(value = "渠道名称")
    private String name;
    @ExcelProperty(value = "appid")
    private Integer appid;
    @ExcelProperty(value = "系统版本id")
    private Integer versionsId;
    @ExcelProperty(value = "渠道类型")
    private Integer typeId;
    @ExcelProperty(value = "公司id")
    private Integer firmId;
    @ExcelProperty(value = "渠道号")
    private String qudao;

    @ExcelProperty(value = "创建时间",format = "yyyy-MM-=dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date created;


}
